import { PLATFORM_Map } from "@/constant/index";
import timedtasks from "@/assets/images/leftminsvg/timedtasks.svg?component";
export default {
	path: '/operatea',
	redirect: '/operate/timed-tasks',
	meta: {
		title: '定时任务',
		showLink: true,
		rank: 6,
		icon: timedtasks,
		platform: [PLATFORM_Map.operate],
		roles: ['business.task']
	},
	children: [
		{
			name: 'timed-tasks',
			path: '/operate/timed-tasks',
			component: () => import('@/views/operate/timed-tasks/index.vue'),
			meta: {
				title: '定时任务',
				showParent: true,
				roles: ['business.task.list']
			}
		}
	]
} satisfies RouteConfigsTable;
